package com.github.kezhenxu94.playground.java.miscellaneous;

public class TestException {

	public static void main(final String[] args) {
		System.out.println(inc());
	}

	public static int inc() {
		int x;
		try {
			x = 1;
			return x;
		}
		catch (final Exception e) {
			x = 2;
			return x;
		}
		finally {
			x = 3;
		}
	}
}
